home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / circuits / ocean / cacd_bin.000 / cacd_bin / lib / include / dmglobal.h < prev    next >
C/C++ Source or Header  |  1994-05-06  |  3KB  |  112 lines

  1. /* SccsId = "@(#)dmglobal.h 3.11 (TU-Delft) 04/28/93" */
  2. /**********************************************************
  3.  
  4. Name/Version      : The Design Data Management Project
  5.  
  6. Language          : C
  7. Operating system  : UNIX SYSTEM V
  8. Host machine      : HP9000/S500
  9.  
  10. Author(s)         : S. de Graaf
  11.                     A. van der Hoeven
  12.                     T.G.R. van Leuken
  13.                     N. van der Meijs
  14.             T. Vogel
  15.             P. van der Wolf
  16. Creation date     : 04-Dec-1986
  17. Modified by       : S. de Graaf
  18. Modification date : 21-Jan-1988
  19.  
  20.  
  21.         Delft University of Technology
  22.         Department of Electrical Engineering
  23.         Network Theory Section
  24.         Mekelweg 4 - P.O.Box 5031
  25.         2600 GA DELFT
  26.         The Netherlands
  27.  
  28.         Phone : 015 - 786234
  29.  
  30.         COPYRIGHT (C) 1985-1988 , All rights reserved
  31. **********************************************************/
  32.  
  33. #ifndef __DMGLOBAL_H
  34. #define __DMGLOBAL_H
  35.  
  36. char   *dmviews[] = {
  37.     LAYOUT,
  38.     CIRCUIT,
  39.     FLOORPLAN
  40. };
  41. /*
  42. ** See dmincl.h: DM_NOVIEWS == sizeof (dmviews) / sizeof (char *)
  43. */
  44.  
  45. /*
  46. ** DDM environment
  47. */
  48. char   *dmpls = NULL;
  49. char   *dmhome = NULL;
  50. char   *dmcur_project = NULL;
  51. char   *dmcur_view = NULL;
  52. char   *dmcur_cell = NULL;
  53. char   *dmprompt = NULL;
  54. char   *dmtoolbox = NULL;
  55.  
  56. /*
  57. ** DDM error handling
  58. */
  59. int     dmerrno = 0;
  60.  
  61. char   *dmerrlist[] =
  62. {
  63.     "DDM error number 0",
  64.     "error in system call",
  65.     "DDM internal error",
  66.     "bad arguments to DDM function call",
  67.     "mode is invalid for key",
  68.     "bad project",
  69.     "bad view",
  70.     "cell does not exist",
  71.     "bad key",
  72.     "cell is already checked out",
  73.     "cannot open primary file for writing",
  74.     "illegal recursion",
  75.     "cell already exists",
  76.     "cannot open technology file",
  77.     "dmPutDesignData write error",
  78.     "dmGetDesignData read error",
  79.     "bad format",
  80.     "unknown process id",
  81.     "cannot access process data",
  82.     "no more core",
  83.     "process data read error",
  84.     "bad current view",
  85.     "bad name",
  86.     "view does not exist",
  87.     "view already exists",
  88.     "project is locked",
  89.     "cannot open file",
  90.     "bad DDM environment",
  91.     "no celllist present",
  92.     "already initialized",
  93.     "no project list present",
  94.     "no imported celllist present",
  95. #ifdef MSDOS
  96.     "cannot open file dmrc.dot",
  97. #else
  98.     "cannot open file .dmrc",
  99. #endif
  100.     "bad release",
  101.     "not yet initialized",
  102.     "design manager error",
  103.     "design manager rejects request",
  104.     "cell is not a root",
  105.     "no father cell",
  106. };
  107.  
  108. int     dmnerr = sizeof (dmerrlist) / sizeof (char *);
  109.  
  110. #endif /* __DMGLOBAL_H */
  111.  
  112.